package SaleManagerRmi;

import POJO.*;
import java.rmi.Remote;
import java.rmi.RemoteException;

public interface RmiInterface extends Remote {
	public SignInStatePOJO findSaleManager(SignInPOJO signInPOJO) throws RemoteException;
	public DisplayCustomerPOJO findCustomerList() throws RemoteException;
	public DisplayCustomerPOJO findCustomerList(String s) throws RemoteException;
	public void updateCustomerPromotionInfo(CustomerPromotionInfoPOJO customerPromotionInfoPOJO) throws RemoteException;
	public OrderListPOJO findOrder() throws RemoteException;
	public OrderListPOJO findOrder(String s) throws RemoteException;
	public void updateOrder(OrderPOJO orderPOJO) throws RemoteException;
	public CategoryListPOJO findCategoryList() throws RemoteException;
	public CategoryStatePOJO insertCategory(CategoryPOJO categoryPOJO) throws RemoteException;
	public void deleteCategory(String s) throws RemoteException;
	public CategoryStatePOJO updateCategory(CategoryPOJO categoryPOJO) throws RemoteException;
	public BookListPOJO findBookList() throws RemoteException;
	public BookStatePOJO insertBook(BookPOJO bookPOJO) throws RemoteException;
	public void deleteBook(String s) throws RemoteException;
	public BookStatePOJO updateBook(BookPOJO bookPOJO) throws RemoteException;

}
